// ignore_for_file: constant_identifier_names

class GlobalVariable {
  static const String BASE_URL = 'https://live-api.itheima.net';
  static const int NEW_WORK_TIME_OUT = 10; // flutter中dio超时时间是s为单位
  static const int SUCCESS_CODE = 10000;
  static const String TOKEN_KEY = "flutter_enjoy_plus"; // 存储首选项的常量key
  static const String REFRESH_TOKEN_KEY =
      "flutter_enjoy_plus_refresh"; // 存储key的常量
  static const String GAO_BASE_URL =
      'https://restapi.amap.com/v3/'; // 高德地图的基础地址
  static const String GAO_KEY = "ec6f580a9ed57f6731978c15a3a50fb1";
}

class HTTP_PATH {
  static const String ANNOUNCE_LIST = '/announcement';
  static const String SEND_CODE = "/code"; // 发送验证码
  static const String LOGIN = "/login"; // 登录地址
  static const String USER_INFO = "/userInfo"; // 用户信息
  static const String REFRESH_TOKEN = "/refreshToken"; // 刷新token
  static const String UPLOAD = '/upload'; // 上传地址
  static const String HOUSE_LIST = '/room'; // 房屋列表
  static const String REGEO = "geocode/regeo"; // 逆地理编码的地址
  static const String NEARLIST = "place/around"; // 附近周边
}
